package com.crm.jdy.common.dto;

import com.crm.jdy.common.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProjectTaskInfoDto extends PageVO implements Serializable {

    private static final long serialVersionUID = 16179348L;

    @ApiModelProperty(name = "taskId" , value = "任务主键id")
    private String taskId;

    @ApiModelProperty(name = "taskName" , value = "任务名称")
    private String taskName;

    @ApiModelProperty(name = "taskStartTime" , value = "开始时间")
    private String taskStartTime;

    @ApiModelProperty(name = "taskEndTime" , value = "结束时间")
    private String taskEndTime;

    @ApiModelProperty(name = "taskDesc" , value = "描述")
    private String taskDesc;

    @ApiModelProperty(name = "taskLevel" , value = "优先级")
    private String taskLevel;

    @ApiModelProperty(name = "taskPerson" , value = "负责人")
    private String taskPerson;

    @ApiModelProperty(name = "taskRelation" , value = "关联信息")
    private String taskRelation;

    @ApiModelProperty(name = "taskParent" , value = "父任务")
    private String taskParent;

    @ApiModelProperty(name = "taskChild" , value = "子任务")
    private String taskChild;

    @ApiModelProperty(name = "taskMark" , value = "任务类型")
    private String taskMark;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;

    @ApiModelProperty(name = "taskCrePerson" , value = "创建人")
    private String taskCrePerson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "updateTime" , value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(name = "taskUpdPerson" , value = "更新人")
    private String taskUpdPerson;

    @ApiModelProperty(name = "taskStage" , value = "项目阶段")
    private String taskStage;

    @ApiModelProperty(name = "isDelete" , value = "0正常 1删除")
    private Integer isDelete;


}
